<if condition="$_D['tips'] neq ''">
    <div name="字段提示">
        <tplval id="tips">{$_D['tips']}</tplval>
    </div>
</if>
<if condition="$_D['formattribute'] neq ''">
    <div name="表单附加属性">
        <tplval id="formattribute">{$_D['formattribute']}</tplval>
    </div>
</if>
<if condition="$_D['css'] neq ''">
    <div name="表单样式名">
        <tplval id="css">{$_D['css']}</tplval>
    </div>
</if>
<if condition="($_D['minlength'] neq 0 AND $_D['minlength'] neq '') OR ($_D['maxlength'] neq 0 AND $_D['maxlength'] neq '')">
    <div name="字符长度取值范围">
        <tplval id="minlength" name="最小值">{$_D['minlength']}</tplval>
        <tplval id="maxlength" name="最大值">{$_D['maxlength']}</tplval>
    </div>
</if>
<if condition="$_D['pattern'] neq ''">
    <div name="数据校验正则">
        <tplval id="pattern" name="正则表达式">{$_D['pattern']}</tplval>
        <tplval id="errortips" name="数据校验未通过的提示信息">{$_D['errortips']}</tplval>
    </div>
</if>
<if condition="$_D['isadd'] eq 0">
    <div name="是否显示">
        <tplval id="isadd" name="{:L('_D[isadd]_'.$_D['isadd'])}">{$_D['isadd']}</tplval>
    </div>
</if>